package com.zut.service;

import com.zut.pojo.User;

public interface UserService {
    // 登录查询手机号和密码
    User getUserByPhoneAndPassword(User user);

    // 注册功能的实现
    int register(User user);

    // 检验手机号是否已注册过
    User telTest(String phone);

    // 用户认证
    boolean addAuthentication(User user);

    // 根据id查询用户
    User selectUserById(Integer id);
}
